package com.fy56.platform.logistics.service.web;

import com.fy56.platform.logistics.common.ResultModel;
import com.fy56.platform.logistics.model.News;
import com.fy56.platform.logistics.service.common.IBaseService;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 项目Service接口
 * @author li
 * @date 2018-02-08 16:57
 */
public interface INewsService extends IBaseService<News> {

    /**
     * 获取数据
     *
     * @param model
     * @return
     */
    List<News> select(News model);

    /**
     * 批量删除
     *
     * @param list
     * @return
     */
    ResultModel batchDelete(ArrayList<News> list);

    /**
     * 获取数据
     *
     * @param model
     * @return
     */
    List<Map<String,Object>> getHomeNewsList(News model);
}
